<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <script src="jquery.js"></script>
    <script src="js/bootstrap.min.js"></script>
    <meta charset="UTF-8">
    <title class="text-center">展示选课结果页面</title>
</head>
<body>

<fieldset class="text-center">

    <legend>个人信息</legend>

</fieldset>
<div class="table-responsive">

    <table class="table table-striped">
            <thead>
            <tr>
                <th>学号</th>
                <th>姓名</th>
                <th>年级</th>
                <th>学院</th>
                <th>专业</th>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td th:text="${studentInfo.getSno()}"></td>
                <td th:text="${studentInfo.getSname()}"></td>
                <td th:text="${studentInfo.getSgrade()}"></td>
                <td th:text="${studentInfo.getSdept()}"></td>
                <td th:text="${studentInfo.getSmajor()}"></td>
            </tr>
            </tbody>
        </table>


    <fieldset class="text-center">

        <legend>选课结果</legend>

    </fieldset>
        <table class="table table-striped">

            <thead>
            <tr>
                <th>课程号</th>
                <th>课程名</th>
            </tr>
            </thead>
            <tbody>
            <tr th:each="course:${courseInfo}">
                <td th:text="${course.getCno()}"></td>
                <td th:text="${course.getCname()}"></td>
            </tr>
            </tbody>
        </table>




</div>
</body>
</html>